package com.financing.wap.dao.impl;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.financing.wap.common.SqlName;
import com.financing.wap.dao.IAccountDao;
import com.financing.wap.dao.IWalletDao;
import com.financing.wap.dto.AccountCorpDTO;
import com.financing.wap.dto.AccountDetailDTO;
import com.financing.wap.dto.ProductDTO;
import com.financing.wap.vo.AccountCorpVo;
import com.financing.wap.vo.AccountDetailVo;
import com.financing.wap.vo.AmountVO;



@Repository("walletDao")
@SuppressWarnings(value={"unchecked", "deprecation"})
public class WalletDaoImpl extends BaseDaoImpl implements IWalletDao {

	@Override
	public Class getEntityClass() {
		return null;
	}

	@Override
	public ProductDTO getProductByReceiptId(Integer associationId) throws SQLException {
		return (ProductDTO) this.getSqlMapClientTemplate().queryForObject(SqlName.getProductByReceiptId, associationId);
	}

	@Override
	public ProductDTO getProductByOrderId(Integer associationId) throws SQLException {
		return (ProductDTO) this.getSqlMapClientTemplate().queryForObject(SqlName.getProductByOrderId, associationId);
	}

}
